package com.jiankangjin.appspos.services;

import com.jiankangjin.appspos.vo.CertiCodeResendVo;
import com.jiankangjin.appspos.vo.GetUserInfoVo;
import com.jiankangjin.appspos.vo.UpdPasswordVo;
import com.jiankangjin.appspos.vo.UserLoginVo;
import com.jiankangjin.appspos.vo.UserLogoutVo;
import com.jiankangjin.appspos.vo.ValidateUserCertiVo;


public interface UserServices {
	
	/**
	 * 用户登录 
	 */
	public UserLoginVo userLogin(String tmpSsn,String validateCode,String loginVouche,String loginPassword,String terminalType,String terminalVer,String terminalId);
	
	/**
	 * 登出 
	 */
	public UserLogoutVo userLogout(String token);
	
	/**
	 * 身份校验凭证重发 
	 */
	public CertiCodeResendVo certiCodeResend(String tokenLow);
	
	/**
	 * 身份校验请求 
	 */
	public ValidateUserCertiVo validateUserCerti(String tokenLow,String certiCode);

	/**
	 * 密码更新
	 */
	public UpdPasswordVo updPassword(String token,String oldPassword,String newPassword);
	
	/**
	 * 下载用户信息
	 */
	public GetUserInfoVo getUserInfo(String token);
}
